package com.fuyao.cloud.ureport.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Data
@Configuration
@ConfigurationProperties(prefix = "mysql")
public class UreportDataSourceConfig {

    public final static String DRIVER = "com.mysql.cj.jdbc.Driver";

    /**
     * ip地址
     */
    private String ip;

    /**
     * 端口
     */
    private String port;

    /**
     * 数据库用户名
     */
    private String user;
    /**
     * 密码
     */
    private String password;
}
